(use-package hungry-delete
  :diminish (hungry-delete-mode)
  :hook ((text-mode prog-mode) . hungry-delete-mode)
  ;; :bind
  ;; ("<backspace>" . hungry-delete-backward-char)
  ;; ("<deletechar>" . hungry-delete-forward-char)
  ;; ([remap delete-forward-char] . hungry-delete-forward-char)
  ;; ([remap delete-backward-char] . hungry-delete-backward-char)
  )
